package com.joysuch.wwyt.risk.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

import com.joysuch.wwyt.bp.bean.investigate.InvestigatePlan;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import com.joysuch.wwyt.core.entity.BaseUser;
import com.joysuch.wwyt.risk.bean.DangerContentExcelBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Transient;
import javax.transaction.Transactional;

/**
 * <p>
 *
 * </p>
 *
 * @author heqifeng
 * @since 2021-09-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_risk_hidden_danger_content")
@ApiModel(value = "RiskHiddenDangerContent对象", description = "")
public class RiskHiddenDangerContent extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "管控措施详情id")
    private Long detailId;

    @ApiModelProperty(value = "隐患排查内容")
    private String content;

    @ApiModelProperty(value = "取数来源")
    private Long dateSource;

    @ApiModelProperty("按岗位分配任务  0关闭 1开启")
    private Integer isJobTask;

    @TableField(exist = false)
    private List<DangerContentExcelBean> excelUserBeanList;

    @TableField(exist = false)
    private List<DangerContentExcelBean> excelJobBeanList;

}
